package com.itheima.tlias08_14.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Department {
    private Integer id;
    private String name;
//    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒")
    private LocalDateTime createTime;
//    @JsonFormat(pattern = "yyyy年MM月dd日 HH时mm分ss秒")
    private LocalDateTime updateTime;
}
